package com.trkj.dao.jpa;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.YzrMedCheck;

public interface IYzrMedCheckDAO extends CrudRepository<YzrMedCheck, String> {

	//查找最大编号
	@Query("select max(mc.medCheckId) from YzrMedCheck mc where mc.medCheckId like ?1%")
	public String findId(String a);
}
